The methods in the class you specified when you created the type library will become User Defined Functions that appear in the Crystal Reports Formula Editor.
A new method appears below the interface in the Object list pane.
function Square (Number: double): double;
Note: For complete information on how to declare functions in Delphi, refer to your Delphi documentation.
The U2LCOM.DLL UFL supports most standard Delphi data types and arrays. For complete information on how the Crystal Reports Formula Editor interprets Delphi data types and arrays, see Delphi and Crystal Reports.
Continue creating methods for all User Defined Functions you want to appear in the Crystal Reports Formula Editor.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |